#ifndef TASK_NONCOPYABLE_H
#define TASK_NONCOPYABLE_H

namespace muduo {


    class noncopyable {
    public:
        noncopyable(const noncopyable &) = delete;

        void operator=(const noncopyable &) = delete;

    protected:
        noncopyable() = default;

        ~noncopyable() = default;
    };

}

#endif //TASK_NONCOPYABLE_H
